package com.crm.mapper;

import com.crm.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author crm
 * @since 2020-06-05
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    Integer AddUserToRole(Integer uid,Integer rid);

    Integer RemoveUserFromRole(Integer uid,Integer rid );
}
